package edu.school.service;

import com.github.pagehelper.PageInfo;
import edu.school.entity.BigData;
import edu.school.entity.Goods;

import java.util.List;

public interface GoodsService {
    boolean save(Goods record);
    boolean update(Goods record);
    PageInfo<Goods> getPageList(Integer pageNum, Integer pageSize, Goods record);
    PageInfo<Goods> getQtPageList(Integer pageNum, Integer pageSize, Goods record);

    Goods findById(Integer id);
    boolean deleteGoods(Integer id);
    int deleteMany(String ids[]);
    List<BigData> selectBigData();
}
